function bpmLog(...data: any) {
  try {
    const isLog = window?.localStorage?.getItem?.('BPM_LOG');
    if (isLog === 'true') {
      return console.log(...data);
    }
  } catch (error) {
    console.log(error);
  }
}

export default bpmLog;
